package io.renren.wechat.support;

import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;

/**
 * @author dmcp@qq.com
 * @since 2021/12/7 15:39
 */
public abstract class MessageDigestUtils {



    public static MessageDigest getDigest(String algorithm) throws NoSuchAlgorithmException {
        return MessageDigest.getInstance(algorithm);
    }

}
